//=============================================================================

#include "stdafx.h"
#include "earthQuake.h"
#include "aEarthQuakeDlg.h"

//=============================================================================

aApp::aApp()
{
}

//=============================================================================

BEGIN_MESSAGE_MAP(aApp, CWinApp)
	ON_COMMAND(ID_HELP, &CWinApp::OnHelp)
END_MESSAGE_MAP()

//=============================================================================

BOOL aApp::InitInstance()
{
	INITCOMMONCONTROLSEX InitCtrls;

  InitCtrls.dwSize = sizeof(InitCtrls);
	InitCtrls.dwICC = ICC_WIN95_CLASSES;
	InitCommonControlsEx(&InitCtrls);

	CWinApp::InitInstance();

	SetRegistryKey(_T("Local AppWizard-Generated Applications"));

	aEarthQuakeDlg dlg;

  m_pMainWnd = &dlg;
	INT_PTR nResponse = dlg.DoModal();
  if (nResponse == IDOK)
  {
	}
	else
    if (nResponse == IDCANCEL)
	  {
	  }

	return FALSE;
}

//=============================================================================

aApp theApp;

//=============================================================================
